package org.jeecg.modules.sms.hyrApi.service.impl;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.sms.hyrApi.service.IHrySmsService;
import org.jeecg.modules.sms.hyrApi.util.HryRequestUtil;
import org.jeecg.modules.sms.sms.param.SmsParam;
import org.jeecg.modules.sms.sms.vo.SmsRtn;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class HrySmsService implements IHrySmsService {
    @Autowired
    private HryRequestUtil hryRequestUtil;
    @Override
    public Result<SmsRtn> sendBatch(SmsParam sms) {
        Result<SmsRtn> result = hryRequestUtil.sendBatch(sms);
        return result;
    }
}
